package com.dy.domain;

public class TuShu {

    private Integer tid;
    private String bookname;
    private String price;
    private String author;
    private String lei;

    @Override
    public String toString() {
        return "TuShu{" +
                "tid=" + tid +
                ", bookname='" + bookname + '\'' +
                ", price='" + price + '\'' +
                ", author='" + author + '\'' +
                ", lei='" + lei + '\'' +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getLei() {
        return lei;
    }

    public void setLei(String lei) {
        this.lei = lei;
    }

    public TuShu() {
    }

    public TuShu(Integer tid, String bookname, String price, String author, String lei) {
        this.tid = tid;
        this.bookname = bookname;
        this.price = price;
        this.author = author;
        this.lei = lei;
    }
}
